// @ts-ignore
const routes = [
  {
    path: '/pay',
    title: '首页',
    component: () => import('@/views/index/index.vue'),
  },
  {
    path: '/pay/index',
    title: '支付首页',
    name: 'Index',
    component: () => import('@/views/index/index/PayIndex.vue'),
  },
  {
    path: '/pay/mobile',
    title: '移动支付',
    name: 'MobileIndex',
    component: () => import('@/views/index/mobile/MobileIndex.vue'),
  },
  {
    path: '/:pathMatch(.*)*',
    title: '404',
    component: () => import('@/views/error/404.vue'),
  },
];

export default routes;
